/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controller;

import java.util.ArrayList;
import model.Contact;

/**
 *
 * @author gramage
 */
public class Main {

    public static void main(String[] args){
        //Create new list
        ArrayList al = new ArrayList();
        al.add(new Contact("a", "b"));
        al.add(new Contact("v", "b"));
        al.add(new Contact("d", "v"));
        al.add(new Contact("f", "f"));
        
        //Launch main window
        view.MainWindow m = new view.MainWindow(al);
        
        while(true){
            m.refreshContacts();
            System.out.println(al.size());
        }
    }
}
